from content.contprov.delicious import ask_delicious_popular, ask_delicious_recent
from content.contprov.wiki import ask_wikipedia
from content.contprov.digg import ask_digg
from content.contprov.general_classes import Link, OneLink


def ask_content_providers(keywords):
	group = ["delicious popular", "delicious recent", "wiki", "digg"]
	specialLinks = [ask_delicious_popular(keywords), ask_delicious_recent(keywords), ask_wikipedia(keywords), ask_digg(keywords)];
	ress = []
	i = 0
	for g in group:
		res = Link(i,specialLinks[i],g)
		ress.append(res)
		i += 1
	return ress
